import 'package:flutter/material.dart';

import '../../../../../lib_baseview/lib_baseview.dart';

class DoufengMicNumberLabel extends StatelessWidget {
  final int num;

  const DoufengMicNumberLabel({Key? key, required this.num}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 15,
      width: 15,
      alignment: Alignment.center,
      child: Stack(
        alignment: Alignment.center,
        children: [
          image('bg_num_top_right_label.png', width: 15, height: 15),
          Text(
            '$num',
            style: const TextStyle(fontSize: 12, color: Colors.white),
          ),
        ],
      ),
    );
  }
}
